projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34fc388
)
(lisp-indent-function): Look for either
author
Richard M. Stallman
<rms@gnu.org>
Fri, 11 Jun 1993 07:00:05 +0000
(07:00 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 11 Jun 1993 07:00:05 +0000
(07:00 +0000)
lisp-indent-hook or lisp-indent-function property.
lisp/emacs-lisp/lisp-mode.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/lisp-mode.el
b/lisp/emacs-lisp/lisp-mode.el
index f7d29dff72c21a74e6987bfd8d7dcea14866623f..f060563f17570947effe4473ece7d02f3b918e63 100644
(file)
--- a/
lisp/emacs-lisp/lisp-mode.el
+++ b/
lisp/emacs-lisp/lisp-mode.el
@@
-414,7
+414,8
@@
of the start of the containing expression."
(let ((function (buffer-substring (point)
(progn (forward-sexp 1) (point))))
method)
- (setq method (get (intern-soft function) 'lisp-indent-function))
+ (setq method (or (get (intern-soft function) 'lisp-indent-function)
+ (get (intern-soft function) 'lisp-indent-hook)))
(cond ((or (eq method 'defun)
(and (null method)
(> (length function) 3)